package com.flyco.modules.sms.service.impl;

import com.flyco.modules.sms.entity.SmsBargainProduct;
import com.flyco.modules.sms.mapper.SmsBargainProductMapper;
import com.flyco.modules.sms.service.ISmsBargainProductService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 砍价商品
 * @Author: flyco
 * @Date:   2020-05-18
 * @Version: V1.0
 */
@Service
public class SmsBargainProductServiceImpl extends ServiceImpl<SmsBargainProductMapper, SmsBargainProduct> implements ISmsBargainProductService {
	
	@Autowired
	private SmsBargainProductMapper smsBargainProductMapper;
	
	@Override
	public List<SmsBargainProduct> selectByMainId(Long mainId) {
		return smsBargainProductMapper.selectByMainId(mainId);
	}
}
